#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>

#define WIDE_LENGTH 9

int main()
{
    int max_blank_len = (WIDE_LENGTH / 2);

    for (int i = 1; i <= max_blank_len + 1; ++i) {
        //打印第i行空格
        for (int j = 1; j <= max_blank_len + 1 - i; ++j) {
            printf(" ");
        }
        //打印第i行星号
        for (int j = 1; j <= (2 * i - 1); ++j) {
            printf("*");
        }
        printf("\n");
    }

    return 0;
}